package com.kfm.wiki.mapper;

import com.kfm.wiki.entity.Doc;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 10854
* @description 针对表【doc(文档)】的数据库操作Mapper
* @createDate 2022-12-17 10:17:14
* @Entity com.kfm.wiki.entity.Doc
*/
public interface DocMapper extends BaseMapper<Doc> {


    List<Doc> selectList(Doc doc);

    int incrementVoteCount(Long id);

    int incrementViewCount(Long id);
}




